﻿@using BonjourQuotation.UI.Models.GuideModel
@model ManageGuideAssignmentsGridViewModel
@Html.HiddenFor(model => model.GuideID)
<div style="width: 941px; min-height: 200px; max-height: 280px; margin: auto; padding-bottom: 30px; margin-left: 9px; ">
    <table class="table table-bordered table-hover table-condensed" style="margin-bottom: -1px !important; width: 920px;background-color:white;">
        <thead>
            <tr>
                <th width="15%;" class="GridHeaders font12">Customer Code</th>
                <th width="15%;" class="GridHeaders font12">Group Code</th>
                <th width="30%;" class="GridHeaders font12">Group Name</th>
                <th width="10%;" class="GridHeaders font12">Canceled</th>
                <th width="10%;" class="GridHeaders font12">Start</th>
                <th width="10%;" class="GridHeaders font12">Finish</th>
                <th width="10%;" class="GridHeaders font12">Selected</th>
            </tr>
        </thead>
    </table>
    <div style="height:280px; overflow-y:auto;">
        <table class="table table-bordered table-hover table-condensed" style="width: 920px; table-layout: fixed; background-color: white;">
            <tbody>
                @for (int ind = 0; ind < Model.Rows.Count; ind++)
                {
                    <tr>
                        <td width="15%;">@Html.LabelForModel(Model.Rows[ind].CustomerCode, new { @class = "table_inputs_135 FSizeForGroupTable", @style = "text-align: left" })</td>
                        <td width="15%;">@Html.LabelForModel(Model.Rows[ind].GroupCode, new { @class = "table_inputs_135 FSizeForGroupTable", @style = "text-align: left" })</td>
                        <td width="30%;">@Html.LabelForModel(Model.Rows[ind].GroupName, new { @class = "table_inputs_270 FSizeForGroupTable", @style = "text-align: left" })</td>
                        <td width="10%;">@Html.LabelForModel(Model.Rows[ind].Canceled ? "Yes" : "No", new { @class = "table_inputs_90 FSizeForGroupTable", @style = "text-align: left" })</td>
                        <td width="10%;">@Html.LabelForModel(Model.Rows[ind].StartDate, new { @class = "table_inputs_90 FSizeForGroupTable", @style = "text-align: left" })</td>
                        <td width="10%;">@Html.LabelForModel(Model.Rows[ind].EndDate, new { @class = "table_inputs_90 FSizeForGroupTable", @style = "text-align: left" })</td>
                        <td width="10%;">@Html.LabelForModel(Model.Rows[ind].Selected ? "Yes" : "No", new { @class = "table_inputs_90 FSizeForGroupTable", @style = "text-align: left" })</td>
                    </tr>
                }
            </tbody>
        </table>
    </div>
</div>
